import { request } from '@/util/api.js'

// 视频分类
export const classification = () => {
	return request({
		url: 'api/video/classification',
		method: 'GET'
	})
}

// 视频专区
export const getVideoList = (data) => {
	return request({
		url: 'api/video/get_list',
		method: 'GET',
		data
	})
}

// 视频播放足迹
export const videoFootprint = (data) => {
	return request({
		url: 'api/video/footprint',
		method: 'post',
		data
	})
}

// 视频播放详情
export const videoShow = (data) => {
	return request({
		url: 'api/video/show',
		method: 'post',
		data
	})
}


/*** 视频直播接口(新版) ***/

// 视频直播列表
export const getVideoliveList = (data) => {
	return request({
		url: 'api/Videolive/get_list',
		method: 'post',
		data
	})
}

// 视频详情
export const videoliveShow = (data) => {
	return request({
		url: 'api/videolive/show',
		method: 'post',
		data
	})
}

// 专栏列表
export const specialColumnList = (data) => {
	return request({
		url: 'api/videolive/special_column_list',
		method: 'get',
		data
	})
}

// 专栏详情
export const specialcolumnIndex = (data) => {
	return request({
		url: 'api/specialcolumn/index',
		method: 'get',
		data
	})
}

// 视频直播热度值增加
export const videoliveHeat = (data) => {
	return request({
		url: 'api/videolive/heat',
		method: 'get',
		data
	})
}